export let app = {
  namespaced: true,
  state: {
    loading: false, // 是否显示loading
  },
  actions: {},
  mutations: {
    // 设置loading
    setLoading(state, flag) {
      //flag在外界传入参数改变动画状态
      state.loading = flag;
    },
  },
};
